﻿@model List<Cloud.Boss.Models.VM_Persimmion_Menu_Combined>
@{
    Layout = null;
    int parentId = (int)ViewBag.parentId;
}
@foreach (var two in Model)
{


    <li class="two-menu two-menu-@two.id">
        <a href="#" class="dropdown-toggle">
            <i class="menu-icon fa fa-pencil-square-o"></i>
            <span class="menu-text">@two.name</span>
            <b class="arrow fa fa-angle-down"></b>
        </a>
        <b class="arrow"></b>

        <ul class="submenu">
            @foreach (var three in two.menus)
            {
                <li class="">
                    <a href="#" onclick="loadContent(this)" tab-parentid="@two.id" tab-id="@three.id" tab-name="@three.name" tab-url="@three.url">
                        <i class="menu-icon fa fa-caret-right"></i>
                        @three.name
                    </a>
                    <b class="arrow"></b>
                </li>
            }

        </ul>
    </li>
}

